#

| Chapter 2 UNIX Commands |

## mkmsgs

    mkmsgs [options] string_file msg_file

Convert `string_file` (a list of text strings) into `msg_file` (the file whose format is readable by gettxt). The created `msg_file` is also used by the commands exstr and srchtxt.

### Options

-i `locale`

  Create `msg_file` in directory:

  >     /usr/lib/locale/locale/LC_MESSAGES

  For example, if `string_file` is a collection of error messages in German, you might specify `locale` as german.

-o

  Overwrite existing `msg_file`.

Reference: mkdir |  | Reference: more